package com.xinruke.hostels.reservation.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author GuoZheng
 * @ClassName OrderDetailQueryResultDto
 * @date：2019/6/13
 * @version: V1.0.0
 * @description：房间预订订单详情DTO
 */
@Data
@ApiModel("房间预订订单详情DTO")
public class RoomOrderDetailQueryResultDTO {

    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id")
    private Integer huiyuanId;
    /**
     *
     * 名称
     */
    @ApiModelProperty(value = "会员名称")
    private String  huiyuanMingcheng;

    /**
     * 酒店id
     */
    @ApiModelProperty(value = "酒店id")

    private Integer jiudianId;


    @ApiModelProperty(value = "酒店详情")
    private ReservationHotelDetailQueryResultDTO hotelDetail;



    /**
     * 入住总人数
     */
    @ApiModelProperty(value = "入住总人数")
    private Integer ruzhuzongrenshu;

    @ApiModelProperty(value = "房间预订信息", required = true)
    private List<RoomOrderInfoQueryResultDto> infoQueryResultDtoList;


    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String dingdanhao;


    /**
     * 建议调整时间
     */
    @ApiModelProperty(value = "建议调整时间")
    private Date jianyitiaozhengshijian;

    /**
     *  状态：0-已取消，1已提交；2已入住；3已完成
     */
    @ApiModelProperty(value = "状态：0-已取消，1已提交；2已入住；3已完成")
    private Byte zhuangtai;

    /**
     * 评价状态 0-未评价，1-已评价
     */
    @ApiModelProperty("评价状态 0-未评价，1-已评价")
    private Integer pingjiazhuangtai;


    /**
     * 状态名称
     */
    @ApiModelProperty(value = "状态名称")
    private String zhuangtaiMinCheng;


    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String beizhu;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty(value = "入住日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijian;

    /**
     * 离开时间
     */
    @ApiModelProperty(value = "离开时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijian;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;


}
